package cn.yuhe.org.mapper;

import cn.yuhe.basic.mapper.BaseMapper;
import cn.yuhe.org.domain.Employee;
import cn.yuhe.org.query.EmployeeQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {


    Employee loadByUserName(String username);

    void saveEmployeeRole(@Param("eId") Long id, @Param("ids") List<Long> roles);

    void remove2(Long id);
}
